package com.tucy.logistics.modules.system.menu.service;

import com.tucy.logistics.common.dto.first.WorkspaceDto;
import com.tucy.logistics.common.entity.user.SystemMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author tucy123
* @description 针对表【system_menu(菜单表)】的数据库操作Service
* @createDate 2023-09-07 15:29:44
*/
public interface SystemMenuService extends IService<SystemMenu> {

    /**
     * 查询全部菜单
     * @return
     */
    List<SystemMenu> queryAllMenus();

    /**
     * 保存修改菜单
     * @return
     */
    Boolean saveUpdateMenus(List<SystemMenu> menus);

    /**
     * 首页数据
     * @return
     */
    WorkspaceDto workspace();
}
